{
  "name": "Config Compliance and Remediation - Remediate",
  "tasks": {
    "229": {
      "name": "runComplianceForDevice",
      "summary": "Run Compliance Report",
      "description": "Begin a compliance report run for a device.",
      "location": "Application",
      "locationType": null,
      "app": "ConfigurationManager",
      "displayName": "ConfigurationManager",
      "type": "automatic",
      "variables": {
        "incoming": {
          "treeId": "$var.job.treeId",
          "version": "$var.job.treeVersion",
          "deviceName": "$var.7bf2.return_data",
          "variables": "",
          "grading": ""
        },
        "outgoing": {
          "runComplianceBatchResult": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "summary",
          "highlightString": "Run Compliance <span class='highlight-string'>Report</span>"
        },
        {
          "key": "description",
          "highlightString": "Begin a compliance <span class='highlight-string'>report</span> run for a device."
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.9967320261437909,
      "y": 0.926056338028169,
      "scheduled": false
    },
    "1116": {
      "name": "forEach",
      "summary": "For Each Compliance Report",
      "description": "Iterate over each item in an array",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "data_array": "$var.job.complianceReportsArray"
        },
        "outgoing": {
          "current_item": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>forE</span>ach"
        }
      ],
      "groups": [],
      "x": 0.513157894736842,
      "y": 0.357664233576642,
      "scheduled": false
    },
    "5617": {
      "name": "push",
      "summary": "Push Item to Array",
      "description": "Push item to a job variable array",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "job_variable": "scoreFail",
          "item_to_push": "$var.7bf2.return_data"
        },
        "outgoing": {
          "job_variable_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>push</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Push</span> Item to Array"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Push</span> item to a job variable array"
        }
      ],
      "groups": [],
      "x": 1.144880174291939,
      "y": 1.2112676056338028
    },
    "6871": {
      "name": "makeData",
      "summary": "Make Data",
      "description": "Make Data",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "automatic",
      "variables": {
        "incoming": {
          "input": "The device was not remediated! <br> The old score was <!oldScore!><br> The new score is <!newScore!><br>The Threshold score was <!thresholdScore!><br><br>The following is the remediation report: <br><!pushResult!><br><br>",
          "outputType": "string",
          "variables": "$var.5cbf.merged_object"
        },
        "outgoing": {
          "output": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>make</span>Data"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Make</span> Data"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Make</span> Data"
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.967543859649123,
      "y": 1.22385321100917,
      "scheduled": false
    },
    "7575": {
      "name": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "score",
                  "operand_1": {
                    "variable": "formData",
                    "task": "job"
                  },
                  "operator": "<",
                  "operand_2": {
                    "variable": "score1",
                    "task": "job"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>eval</span>uation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eval</span>uation"
        }
      ],
      "groups": [],
      "x": 0.533333333333333,
      "y": 0.967153284671533
    },
    "8579": {
      "name": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "mode",
                  "operand_1": {
                    "variable": "formData",
                    "task": "job"
                  },
                  "operator": "==",
                  "operand_2": {
                    "variable": "Zero Touch",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>eva</span>luation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eva</span>luation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eva</span>luation"
        }
      ],
      "groups": [],
      "x": 0.808771929824561,
      "y": 0.622018348623853
    },
    "9380": {
      "name": "query",
      "summary": "Query Config Check Score 1",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": true,
          "query": "score",
          "obj": "$var.1116.current_item"
        },
        "outgoing": {
          "return_data": "$var.job.score1"
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 0.6045751633986928,
      "y": 0.6109154929577465,
      "scheduled": false
    },
    "workflow_start": {
      "name": "workflow_start",
      "groups": [],
      "x": 0.0894736842105263,
      "y": 0.387205387205387,
      "summary": "workflow_start",
      "description": "workflow_start"
    },
    "workflow_end": {
      "name": "workflow_end",
      "groups": [],
      "x": 0.67280701754386,
      "y": 0.335016835016835,
      "summary": "workflow_end",
      "description": "workflow_end"
    },
    "e475": {
      "name": "runAutoRemediation",
      "summary": "Push Configuration",
      "description": "Patch device configuration automatically from compliance report",
      "location": "Application",
      "locationType": null,
      "app": "ConfigurationManager",
      "displayName": "ConfigurationManager",
      "type": "automatic",
      "variables": {
        "incoming": {
          "complianceReportId": "$var.8f13.return_data",
          "removeDisallowedConfig": "$var.a143.return_data"
        },
        "outgoing": {
          "remediationResult": null
        },
        "error": "$var.job.pushConfigError"
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>runAutoRe</span>mediation"
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.702631578947368,
      "y": 0.930275229357798,
      "scheduled": false
    },
    "8f13": {
      "name": "query",
      "summary": "Query ReportID",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": true,
          "query": "reportId",
          "obj": "$var.1116.current_item"
        },
        "outgoing": {
          "return_data": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 0.516666666666667,
      "y": 0.607664233576642,
      "scheduled": false
    },
    "7bf2": {
      "name": "query",
      "summary": "Query DeviceInReport",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": true,
          "query": "device",
          "obj": "$var.1116.current_item"
        },
        "outgoing": {
          "return_data": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 0.418421052631579,
      "y": 0.614963503649635,
      "scheduled": false
    },
    "ee9d": {
      "name": "query",
      "summary": "Query Config Check Score 2",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": true,
          "query": "score",
          "obj": "$var.229.runComplianceBatchResult"
        },
        "outgoing": {
          "return_data": "$var.job.score2"
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 1.1644880174291938,
      "y": 0.9242957746478874,
      "scheduled": false
    },
    "e996": {
      "name": "ViewData",
      "summary": "Remediation Run",
      "description": "View data in a pretty format",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Successful Device Remediation run",
          "message": "$var.7bf2.return_data",
          "body": "$var.e279.output",
          "variables": {},
          "btn_success": "Go to Next Device",
          "btn_failure": ""
        },
        "outgoing": {},
        "error": "",
        "decorators": []
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>ViewDa</span>ta"
        }
      ],
      "groups": [],
      "x": 0.954385964912281,
      "y": 1.52293577981651,
      "scheduled": false
    },
    "2d43": {
      "name": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "score",
                  "operand_1": {
                    "variable": "formData",
                    "task": "job"
                  },
                  "operator": "<",
                  "operand_2": {
                    "variable": "score2",
                    "task": "job"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>eval</span>uation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eval</span>uation"
        }
      ],
      "groups": [],
      "x": 1.3140350877193,
      "y": 1.2256880733945
    },
    "dc8": {
      "name": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "scoreFail",
          "value": []
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>newV</span>ariable"
        }
      ],
      "groups": [],
      "x": 0.225438596491228,
      "y": 0.381386861313869
    },
    "f3ab": {
      "name": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "scorePass",
          "value": []
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>newV</span>ariable"
        }
      ],
      "groups": [],
      "x": 0.357017543859649,
      "y": 0.375420875420875
    },
    "83d7": {
      "name": "push",
      "summary": "Push Item to Array",
      "description": "Push item to a job variable array",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "job_variable": "scorePass",
          "item_to_push": "$var.7bf2.return_data"
        },
        "outgoing": {
          "job_variable_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>push</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Push</span> Item to Array"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Push</span> item to a job variable array"
        }
      ],
      "groups": [],
      "x": 0.358771929824561,
      "y": 0.961678832116788
    },
    "f923": {
      "name": "push",
      "summary": "Push Item to Array",
      "description": "Push item to a job variable array",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "job_variable": "scorePass",
          "item_to_push": "$var.7bf2.return_data"
        },
        "outgoing": {
          "job_variable_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>push</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Push</span> Item to Array"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Push</span> item to a job variable array"
        }
      ],
      "groups": [],
      "x": 1.44298245614035,
      "y": 1.2348623853211
    },
    "d344": {
      "name": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "mode",
                  "operand_1": {
                    "variable": "formData",
                    "task": "job"
                  },
                  "operator": "==",
                  "operand_2": {
                    "variable": "Zero Touch",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>eva</span>luation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eva</span>luation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eva</span>luation"
        }
      ],
      "groups": [],
      "x": 1.3219298245614,
      "y": 1.52477064220183
    },
    "a143": {
      "name": "query",
      "summary": "Query enableDisallowedConfigRemoval",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": false,
          "query": "enableDisallowedConfigurationRemoval",
          "obj": "$var.job.formData"
        },
        "outgoing": {
          "return_data": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 0.4651416122004357,
      "y": 0.7764084507042254,
      "scheduled": false
    },
    "8ef9": {
      "name": "backUpDevice",
      "summary": "Backup device configuration",
      "description": "Backup device configuration in mongo",
      "location": "Application",
      "locationType": null,
      "app": "ConfigurationManager",
      "displayName": "ConfigurationManager",
      "type": "automatic",
      "variables": {
        "incoming": {
          "name": "$var.7bf2.return_data",
          "options": {}
        },
        "outgoing": {
          "status": null
        },
        "error": "",
        "decorators": []
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>backUp</span>Device"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Backup</span> device configuration"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Backup</span> device configuration in mongo"
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.546491228070175,
      "y": 1.24036697247706,
      "scheduled": false
    },
    "5cbf": {
      "name": "merge",
      "summary": "Merge Data",
      "description": "Merge data into a single object",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "data_to_merge": [
            {
              "key": "oldScore",
              "value": {
                "task": "9380",
                "variable": "return_data"
              }
            },
            {
              "key": "newScore",
              "value": {
                "task": "ee9d",
                "variable": "return_data"
              }
            },
            {
              "key": "pushResult",
              "value": {
                "task": "e475",
                "variable": "remediationResult"
              }
            },
            {
              "key": "thresholdScore",
              "value": {
                "task": "de1a",
                "variable": "return_data"
              }
            }
          ]
        },
        "outgoing": {
          "merged_object": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>merge</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Merge</span> Data"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Merge</span> data into a single object"
        }
      ],
      "groups": [],
      "x": 1.3115468409586057,
      "y": 0.9313380281690141
    },
    "e279": {
      "name": "makeData",
      "summary": "Push Results and scores",
      "description": "Push Results and scores",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "automatic",
      "variables": {
        "incoming": {
          "input": "The device was remediated successfully! <br> The old score was <!oldScore!> The new score is <!newScore!><br>The Threshold score was <!thresholdScore!><br><br>The following is the remediation report: <br><!pushResult!><br><br>",
          "outputType": "string",
          "variables": "$var.5cbf.merged_object"
        },
        "outgoing": {
          "output": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>make</span>Data"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Make</span> Data"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Make</span> Data"
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 1.14473684210526,
      "y": 1.51192660550459,
      "scheduled": false
    },
    "3d1b": {
      "name": "push",
      "summary": "Push Item to Array",
      "description": "Push item to a job variable array",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "job_variable": "scoreFail",
          "item_to_push": "$var.7bf2.return_data"
        },
        "outgoing": {
          "job_variable_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>push</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Push</span> Item to Array"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Push</span> item to a job variable array"
        }
      ],
      "groups": [],
      "x": 0.700877192982456,
      "y": 0.631192660550459
    },
    "a861": {
      "name": "ViewData",
      "summary": "Remediation Run",
      "description": "View data in a pretty format",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Unsuccessful Device Remediation run",
          "message": "$var.7bf2.return_data",
          "body": "$var.c3fa.return_data",
          "variables": {},
          "btn_success": "Go to Next Device",
          "btn_failure": ""
        },
        "outgoing": {},
        "error": "",
        "decorators": []
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>ViewDa</span>ta"
        }
      ],
      "groups": [],
      "x": 1.18245614035088,
      "y": 0.622018348623853,
      "scheduled": false
    },
    "d14b": {
      "name": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "message",
                  "operand_1": {
                    "variable": "remediationResult",
                    "task": "e475"
                  },
                  "operator": "!contains",
                  "operand_2": {
                    "variable": "success",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>eva</span>luation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eva</span>luation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eva</span>luation"
        }
      ],
      "groups": [],
      "x": 0.814035087719298,
      "y": 0.928440366972477
    },
    "3f9c": {
      "name": "merge",
      "summary": "Merge All Unsuccessful data",
      "description": "Merge data into a single object",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "data_to_merge": [
            {
              "key": "",
              "value": {
                "task": "6871",
                "variable": "output"
              }
            },
            {
              "key": "",
              "value": {
                "task": "job",
                "variable": "pushConfigError"
              }
            },
            {
              "key": "",
              "value": {
                "task": "e475",
                "variable": "remediationResult"
              }
            }
          ]
        },
        "outgoing": {
          "merged_object": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>merge</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Merge</span> Data"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Merge</span> data into a single object"
        }
      ],
      "groups": [],
      "x": 0.957017543859649,
      "y": 0.620183486238532
    },
    "de1a": {
      "name": "query",
      "summary": "Query threshold score",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": false,
          "query": "score",
          "obj": "$var.job.formData"
        },
        "outgoing": {
          "return_data": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 0.5827886710239651,
      "y": 0.7623239436619719,
      "scheduled": false
    },
    "c3fa": {
      "name": "query",
      "summary": "Query the merged unsuccessful result",
      "description": "Query data using a dot/bracket notation string and a matching key/value pair.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "pass_on_null": true,
          "query": "[0]",
          "obj": "$var.3f9c.merged_object"
        },
        "outgoing": {
          "return_data": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "name",
          "highlightString": "<span class='highlight-string'>query</span>"
        },
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Query</span> Data Using 'json-query' Format"
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Query</span> data using a dot/bracket notation string and a matching key/value pair."
        }
      ],
      "groups": [],
      "x": 1.0359649122807,
      "y": 0.61651376146789,
      "scheduled": false
    }
  },
  "transitions": {
    "229": {
      "ee9d": {
        "type": "standard",
        "state": "success"
      }
    },
    "1116": {
      "8f13": {
        "type": "standard",
        "state": "loop"
      },
      "workflow_end": {
        "type": "standard",
        "state": "success"
      }
    },
    "5617": {
      "6871": {
        "type": "standard",
        "state": "success"
      }
    },
    "6047": {},
    "6871": {
      "3f9c": {
        "type": "standard",
        "state": "success"
      }
    },
    "7575": {
      "e475": {
        "type": "standard",
        "state": "failure"
      },
      "83d7": {
        "type": "standard",
        "state": "success"
      },
      "8ef9": {
        "type": "standard",
        "state": "failure"
      }
    },
    "8579": {
      "3f9c": {
        "type": "standard",
        "state": "failure"
      }
    },
    "9380": {
      "de1a": {
        "type": "standard",
        "state": "success"
      }
    },
    "workflow_start": {
      "dc8": {
        "type": "standard",
        "state": "success"
      }
    },
    "workflow_end": {},
    "e475": {
      "3d1b": {
        "type": "standard",
        "state": "error"
      },
      "d14b": {
        "type": "standard",
        "state": "success"
      }
    },
    "8f13": {
      "9380": {
        "type": "standard",
        "state": "success"
      },
      "7bf2": {
        "type": "standard",
        "state": "success"
      }
    },
    "7bf2": {
      "a143": {
        "type": "standard",
        "state": "success"
      }
    },
    "f128": {},
    "ee9d": {
      "5cbf": {
        "type": "standard",
        "state": "success"
      }
    },
    "777e": {},
    "e996": {},
    "cc1b": {},
    "2d43": {
      "5617": {
        "type": "standard",
        "state": "failure"
      },
      "f923": {
        "type": "standard",
        "state": "success"
      },
      "d344": {
        "type": "standard",
        "state": "success"
      }
    },
    "d261": {},
    "dc8": {
      "f3ab": {
        "type": "standard",
        "state": "success"
      }
    },
    "f3ab": {
      "1116": {
        "type": "standard",
        "state": "success"
      }
    },
    "83d7": {},
    "f923": {},
    "d344": {
      "e279": {
        "type": "standard",
        "state": "failure"
      }
    },
    "a143": {
      "7575": {
        "type": "standard",
        "state": "success"
      }
    },
    "8ef9": {},
    "5cbf": {
      "2d43": {
        "type": "standard",
        "state": "success"
      }
    },
    "e279": {
      "e996": {
        "type": "standard",
        "state": "success"
      }
    },
    "3d1b": {
      "8579": {
        "type": "standard",
        "state": "success"
      }
    },
    "93d": {},
    "c6d9": {},
    "ee5f": {},
    "a861": {},
    "d14b": {
      "229": {
        "type": "standard",
        "state": "success"
      },
      "8579": {
        "type": "standard",
        "state": "failure"
      }
    },
    "3f9c": {
      "c3fa": {
        "type": "standard",
        "state": "success"
      }
    },
    "de1a": {
      "7575": {
        "type": "standard",
        "state": "success"
      }
    },
    "c3fa": {
      "a861": {
        "type": "standard",
        "state": "success"
      }
    },
    "5daa": {},
    "d0d1": {}
  },
  "font_size": 12,
  "created": "2020-02-17T19:36:47.065Z",
  "created_by": {
    "provenance": "Local AAA",
    "username": "admin@pronghorn",
    "firstname": "admin",
    "inactive": true,
    "email": ""
  },
  "createdVersion": "4.5.3-2019.2.9.0",
  "last_updated": "2022-01-06T18:27:09.748Z",
  "last_updated_by": {
    "provenance": "Itential-Okta",
    "username": "kay.wolfe@itential.com",
    "firstname": "Kay",
    "inactive": false,
    "email": ""
  },
  "lastUpdatedVersion": "5.44.8-2021.2.0",
  "type": "automation",
  "description": null,
  "canvasVersion": 1,
  "inputSchema": {
    "type": "object",
    "properties": {
      "treeId": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      },
      "treeVersion": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      },
      "complianceReportsArray": {
        "type": "array"
      },
      "formData": {
        "type": "object",
        "examples": [
          {
            "name": "value"
          }
        ]
      }
    },
    "required": [
      "treeId",
      "treeVersion",
      "complianceReportsArray",
      "formData"
    ]
  },
  "outputSchema": {
    "type": "object",
    "properties": {
      "treeId": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      },
      "treeVersion": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      },
      "complianceReportsArray": {
        "type": "array"
      },
      "formData": {
        "type": "object",
        "examples": [
          {
            "name": "value"
          }
        ]
      },
      "_id": {
        "type": "string",
        "pattern": "^[0-9a-f]{24}$"
      },
      "initiator": {
        "type": "string"
      },
      "scoreFail": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      },
      "score1": {
        "type": [
          "string",
          "number",
          "object",
          "integer",
          "array",
          "boolean",
          "null"
        ],
        "examples": [
          "value"
        ]
      },
      "pushConfigError": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      },
      "score2": {
        "type": [
          "string",
          "number",
          "object",
          "integer",
          "array",
          "boolean",
          "null"
        ],
        "examples": [
          "value"
        ]
      },
      "scorePass": {
        "type": [
          "array",
          "boolean",
          "null",
          "number",
          "object",
          "string"
        ]
      }
    }
  },
  "tags": [],
  "groups": [],
  "migrationVersion": 1
}
